#include <iostream>
using namespace std;
#include "linkQueue.h"


int main()
{   
    myQueue queue;

    queue.push(11);
    queue.push(22);
    queue.push(33);
    queue.push(44);

    cout<<"size"<<queue.size()<<endl;
    cout<<"front"<<queue.front()<<endl;
    cout<<"rear"<<queue.rear()<<endl;

    while(!queue.empty())
    {
        std::cout<<"front:"<<queue.front()<<std::endl;
        queue.pop();
    }
    cout<<"size"<<queue.size()<<endl;
    return 0;
}